<div id="proposal">
<h2>Proposal</h2>
<br/>
<form method="POST" action="proposalscript.php">
	<table>
	
		<tr  class="field">
			<td>*Type: </td>
			<td>									
				<select name="type">	
					<option value="---">Please select one</option>
					{section name=i loop=$types}	
						<option value="{$types[i]}">{$types[i]}</option>
					{/section}				
				</select>
			</td>				
			<td>{$typeerr}</td>
		</tr>
		
		<tr  class="field">
			<td>*Address: </td>
			<td><input type="text" size="25" name="address" value="{$address}"></input></td>			
			<td>{$addresserr}</td>
		</tr class="field">
	
		<tr class="field">		
			<td>*Suburb: </td>
			<td>
				<select name="suburb">		
				<option value="---">Please select one</option>
				{section name=i loop=$suburbs}	
					<option value="{$suburbs[i].id}">{$suburbs[i].name} ({$suburbs[i].postcode})</option>
				{/section}				
				</select>
			</td>
			<td>{$suburberr}</td>
		</tr>		
		
		<tr class="field">
			<td>Suggested Name: </td>
			<td><input type="text" size="20" name="name" value="{$sugname}"></input></td>			
		</tr>
		
		<tr class="field">
			<td>*Details: </td>
			<td><textarea rows="3" cols="40" name="details">{$details}</textarea></td>					
			<td>{$detailserr}</td>					
		</tr>	
		
		<tr class="field">
			<td></td>
			<td><input type="submit" size="7" value="Submit"></input></td>
		</tr>
		
	</table>
	
</form>
</div>
